package softswitch.agi;

import javax.ejb.EJB;

import org.asteriskjava.fastagi.AgiChannel;
import org.asteriskjava.fastagi.AgiException;
import org.asteriskjava.fastagi.AgiRequest;
import org.asteriskjava.fastagi.BaseAgiScript;

import softswitch.ws.SoftswitchService;


public class InboundAgi extends BaseAgiScript {

	@EJB
	SoftswitchService softswitchService;
	
	
	@Override
	public void service(AgiRequest request, AgiChannel channel) throws AgiException {
			
		String destination = request.getExtension();
		String uniqueid = request.getUniqueId();
		
		//logger.debug(uniqueid, "Agi.java", "Starting Switching Inbound Call");
		//exec("NoOp",destination + " Version " + softswitchService.getVersion());
		
			
	}//service()
		
			
	
}// Class
